// 去除html标签
function clearHtml(text) {
  var word = text = text.replace(/(\n)/g, '')
  word = word.replace(/(\t)/g, '')
  word = word.replace(/(\r)/g, '')
  word = word.replace(/<\/?[^>]*>/g, '')
  word = word.replace(/\s*/g, '')
  return word
}
module.exports = clearHtml